//
//  SinaPictureInfo.swift
//  mySina
//
//  Created by 刘莹 on 2016/11/18.
//  Copyright © 2016年 liuying. All rights reserved.
//

import UIKit

class SinaPictureInfo: NSObject {

    //缩略图的地址
    var thumbnail_pic: String?{
        didSet{
        //给bimiddle属性赋值
        bimiddleImg = thumbnail_pic?.replacingOccurrences(of: "thumbnail", with: "bmiddle")
        wap360 = thumbnail_pic?.replacingOccurrences(of: "thumbnail", with: "wap360")
//        imageURL = URL(string:bimiddleImg ?? "")
        imageURL = URL(string: wap360 ?? "")
        }
    }
    var bimiddleImg:String?
    var wap360:String?
    var imageURL:URL?
}
